package com.ruoyi.qbms.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 题库纠错记录对象 qbms_record_fix
 *
 * @author zouhuu
 * @date 2022-10-20
 */
public class QbmsRecordFix extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long uid;

    /** 类别ID */
    @Excel(name = "类别ID")
    private Long categoryId;

    /** 学科ID */
    @Excel(name = "学科ID")
    private Long subjectId;

    /** 章节ID */
    @Excel(name = "章节ID")
    private Long chapterId;

    /** 题目ID */
    @Excel(name = "题目ID")
    private Long questionId;

    /** 错误类型(0其他 1题目错误 2选项错误 3答案错误 4解析错误) */
    @Excel(name = "错误类型(0其他 1题目错误 2选项错误 3答案错误 4解析错误)")
    private Integer fixType;

    /** 错误内容 */
    @Excel(name = "错误内容")
    private String content;

    /** 图片附件 */
    @Excel(name = "图片附件")
    private String imgs;

    /** 回复内容 */
    @Excel(name = "回复内容")
    private String reply;

    /** 删除状态(0正常 1删除) */
    private Integer delFlag;

    /** 数据状态(0正常 1停用) */
    @Excel(name = "数据状态(0正常 1停用)")
    private Integer status;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUid(Long uid)
    {
        this.uid = uid;
    }

    public Long getUid()
    {
        return uid;
    }
    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }
    public void setSubjectId(Long subjectId)
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId()
    {
        return subjectId;
    }
    public void setChapterId(Long chapterId)
    {
        this.chapterId = chapterId;
    }

    public Long getChapterId()
    {
        return chapterId;
    }
    public void setQuestionId(Long questionId)
    {
        this.questionId = questionId;
    }

    public Long getQuestionId()
    {
        return questionId;
    }
    public void setFixType(Integer fixType)
    {
        this.fixType = fixType;
    }

    public Integer getFixType()
    {
        return fixType;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setImgs(String imgs)
    {
        this.imgs = imgs;
    }

    public String getImgs()
    {
        return imgs;
    }
    public void setReply(String reply)
    {
        this.reply = reply;
    }

    public String getReply()
    {
        return reply;
    }
    public void setDelFlag(Integer delFlag)
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag()
    {
        return delFlag;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("uid", getUid())
                .append("categoryId", getCategoryId())
                .append("subjectId", getSubjectId())
                .append("chapterId", getChapterId())
                .append("questionId", getQuestionId())
                .append("fixType", getFixType())
                .append("content", getContent())
                .append("imgs", getImgs())
                .append("reply", getReply())
                .append("delFlag", getDelFlag())
                .append("status", getStatus())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
